<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui">

    <body>
     

        <ui:composition template="./TemplatePrincipal.xhtml">

            <ui:define name="top">
                Bienvenidos<h:outputText value="#{accessBean.user}"/>
                <p>
                <h:outputText value="#{accessBean.pass}"/>
                </p>
            </ui:define>

            <ui:define name="left">
                left
            </ui:define>

            <ui:define name="content">
                <h:form>
                    <p:commandButton value="Libro" action="LibroLista" ajax="false"/>
                    <p:commandButton value="Autor" action="AutorLista" ajax="false"/>
                 <p:commandButton value="Categoria" action="ListaCategoria" ajax="false" />
                  <p:commandButton value="Usuario" action="UsuarioLista" ajax="false"/>
                  <p:commandButton value="Prestamo" action="PrestamoListar" ajax="false"/> 
                 
                
                </h:form>
            </ui:define>

        </ui:composition>

    </body>
</html>
